import time
def timeStumpFunc(func):

    def wrappedFunc(*nkw):
        print("start_time %s" % time.time())
        func(*nkw)
        print("end_time %s" % time.time())

    return wrappedFunc
@timeStumpFunc
def TimeCount(n):
	print n

TimeCount(2)